package com.survey.dao.mapper;


import com.survey.pojo.data.ResultDO;
import com.survey.pojo.vo.ResultVO;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/** 
 * <br/>
 * Created by survey on 2018/08/04
 */
@Repository
public interface ResultMapper {

    Integer addResult(ResultVO resultVO);

    Integer updateResult(ResultVO resultVO);

    ResultDO findDetailResult(ResultVO resultVO);

    ResultDO findResultByVO(ResultVO resultVO);

    List<ResultDO> listResult(ResultVO resultVO);


    List<ResultDO> listResult1(ResultVO resultVO);

    List<ResultDO> listResultPage(ResultVO resultVO);

    Integer countResult(ResultVO resultVO);

    Integer deleteResult(ResultVO resultVO);

    List<ResultDO> listResultBySidAndFkQid(@Param("eid") Integer eid, @Param("id1") Integer id1);

    ResultDO findDetailResult1(ResultVO resultVO);
}
